<div id="content-title">Add Class Details</div>

<div id="content-data">
<div class="web-form">
<form name="subject-form" id="subject-form" method="post"
	action="./system/addSubjects.php">
<fieldset><legend class="left">Add class</legend>
<table border="0" bordercolor="" width="" bgcolor="">

	<tbody>
		<tr>
			<td colspan="3"><?php if($_SESSION['log-err'])echo "<div class='log-err'>".$_SESSION['log-err']."</div>"; ?>
			<?php if($_SESSION['log-info'])echo "<div class='log-info'>".$_SESSION['log-info']."</div>"; ?>
			</td>
		</tr>

		<tr>
			<td class="left"><label class="web-form-label">Year :</label></td>
			<td class="right"><input type="text" name="year"
				class="web-form-field" /></td>
			<td class="left">
			<div id="year-log" class="log-err"></div>
			</td>
		</tr>
		<tr>
			<td class="left"><label class="web-form-label">Grade :</label></td>
			<td class="right"><input type="text" name="grade"
				class="web-form-field" /></td>
			<td class="left">
			<div id="grade-log" class="log-err"></div>
			</td>
		</tr>

		<tr>
			<td class="left"><label class="web-form-label">Class :</label></td>
			<td class="right"><input type="text" name="class"
				class="web-form-field" /></td>
			<td class="left">
			<div id="year-log" class="log-err"></div>
			</td>
		</tr>

		<tr>
			<td class="left"><label class="web-form-label">Subjects:</label></td>
		</tr>

		<tr>
			<table width="50%" border="0">
				<tr>
					<td><input type="text" name="sub1" class="web-form-field" /></td>
					<td><input type="text" name="sub2" class="web-form-field" /></td>
					<td><input type="text" name="sub3" class="web-form-field" /></td>
				</tr>
				<tr>
					<td><input type="text" name="sub4" class="web-form-field" /></td>
					<td><input type="text" name="sub5" class="web-form-field" /></td>
					<td><input type="text" name="sub6" class="web-form-field" /></td>
				</tr>
				<tr>
					<td><input type="text" name="sub7" class="web-form-field" /></td>
					<td><input type="text" name="sub8" class="web-form-field" /></td>
					<td><input type="text" name="sub9" class="web-form-field" /></td>
				</tr>
				<tr>
					<td><input type="text" name="sub10" class="web-form-field" /></td>
					<td><input type="text" name="sub11" class="web-form-field" /></td>
					<td><input type="text" name="sub12" class="web-form-field" /></td>
				</tr>
			</table>
		</tr>


		<tr>
			<td></td>
			<td class="right">
			<button type="submit" class="web-form-button"><img
				src="./public/images/usersadd.png"><span>Add Class</span></button>
			</td>
		</tr>
	</tbody>
</table>
</fieldset>
</form>
</div>
</div>
